package com.dragon.sdgp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.sdgp.common.R;
import com.dragon.sdgp.entity.SysUser;

/**
 * @AUTHOR : Dragon_Yang
 * @File : UserService
 * @DESCRIPTION :
 * @DATE : 2023/3/12 16:05
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getUserByEMailOrPhone(String account);

    R sysUserRegister(String code, SysUser sysUser);

    R sysUserLogin(SysUser sysUser);
}
